package com.hm.shopping.service;

import java.util.List;

import com.hm.common.su.bean.PageInfo;
import com.hm.common.su.bean.PageInfo.PageInfoParam;
import com.hm.shopping.vo.ClassificationDetailVo;
import com.hm.shopping.vo.ClassificationVo;

/**
 * @author shishun.wang
 * @date 2018年1月18日 下午6:24:48
 * @version 1.0
 * @describe 
 */
public interface ClassificationService {

	public void addClassification(ClassificationVo classificationVo);
	
	public void addClassificationDetail(ClassificationDetailVo classificationDetailVo);
	
	public List<ClassificationVo> getWebClassifications();
	
	/**
	 * 分页获取分类
	 * @param pageParam
	 * @param classificationName
	 * @return
	 */
	PageInfo<ClassificationVo> queryClassifications(PageInfoParam pageParam, String classificationName);
	
	/**
	 * 获取分类明细信息
	 * @param classificationId
	 * @return
	 */
	List<ClassificationDetailVo> getClassificationDetailList(String classificationId);
	
	public void updateClassification(ClassificationVo classificationVo);
	
	public void updateClassificationDetail(ClassificationDetailVo classificationDetailVo);
	
	public void deleteClassification(String classificationId);
	
	public void deleteClassificationDetail(String classificationDetailId);
	
	public ClassificationVo getClassification(String classificationId);
	
	public ClassificationDetailVo getClassificationDetail(String classificationDetailId);
	
	public ClassificationDetailVo getClassificationDetailByCode(String classificationDetailCode);
	
	public List<ClassificationDetailVo> getClassificationDetailsByCcode(String classificationCode);
}
